/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package models;

import java.io.Serializable;

/**
 *
 * @author simone
 */
public class hotelDTO implements Serializable{
    
    private int idHotel;
    private String nameHotel;
    private cittaDTO cityHotel;

    private String descr;
    private String address;
    private Object cost;
    private int rating;

    
    public hotelDTO(){
    }
    

    public void setIdHotel(int idHotel) {
        this.idHotel = idHotel;
    }
  
    public int getIdHotel(){
        return this.idHotel;
    }
 
    public String getHotelName(){
        return this.nameHotel;
    }

    public int getRating() {
        return rating;
    }

    public void setRating(int rating) {
        this.rating = rating;
    }

    public cittaDTO getCityHotel() {
        return cityHotel;
    }

    public void setCityHotel(cittaDTO cityHotel) {
        this.cityHotel = cityHotel;
    }

    public String getNameHotel() {
        return nameHotel;
    }

    public void setNameHotel(String nameHotel) {
        this.nameHotel = nameHotel;
    }


    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Object getCost() {
        return cost;
    }

    public void setCost(Object cost) {
        this.cost = cost;
    }
    
    public String getInfo()
    {
        String info = this.nameHotel+" -- "+this.cityHotel.getCityName();
        return info;
    }
    
}
